<template>
	<view class="page">
	   <view v-for="item in list" :key="item.id" class="u-padding-30 u-border-bottom">
		   <view class="u-flex u-row-between">
			   <view v-if="item.remark">{{item.remark}}</view>
			   <view v-if="item.des">{{item.des}}</view>
			   <view>￥{{item.money}}</view>
		   </view>
		   <view class="u-flex u-row-between">
			   <view class="$u-type-info u-margin-top-20">{{item.createTime}}</view>
			   
			   <view class="u-margin-top-20 u-font-24" 
			   :class="item.status==1?'$u-type-warning':item.status==2?'$u-type-success':item.status==4?'$u-type-error':''">
			      {{item.status==1?'待审核':item.status==2?'已到账':item.status==4?'审核驳回':''}}
			   </view>
		   </view>
		   
	   </view>
	   <u-loadmore :status="status"  />
	</view>
</template>

<script>
	import loader from '@/common/loadPage.js';
	export default {
		mixins: [loader],
		data() {

			return {
				tabbar: [],
				nav: [],
				current: 0,
				list: [],
				initial: {
					geturl: "",
					parm: {
					 
					},
					isPage: true
				},

			}
		},
		async onLoad(options) {
			console.log(options,777)
			console.log(options.ismanage,88)
			if(options.ismanage=='true'){
				this.initial.geturl="/api/Financial/withdrawLog"
			}else{
				this.initial.geturl="/api/Financial/commission"
			}
			this.getGoods()
		},
		methods: {
		
			
		}
	}
</script>


<style>

	.list{
		background: #fff;
	    width:700rpx;
		 margin: 20rpx auto;
		 padding: 20rpx;
	}
</style>
